# -*- coding: UTF-8 -*-
# 注释
import  sys;
print("a");
if True:
      print ("true");
else :
       print("false");
print("注释")
# raw_input("请输入内容\n")
x="runoob";
sys.stdout.write(x);
print (x);
print (x,x,x,)

counter = 100  # 赋值整型变量
miles = 1000.0  # 浮点型
name = "John"  # 字符串

print (counter)
print (miles)
print (name)

a=0xaa\

print (a);
b=3.14j;
print (b);



s="iloveyouforever"
tt=s[0:8];
print (tt);
sys.stdout.write(s[0]);

print (s.__len__());
list =[1,2,3];
tineylist=[4,5,6];

list=list*2;
print (list+tineylist);

a=a*10;
m=max(1,2,3,4);
m=min(1,2,3,4);

print (m);

tuple =("a===",1,b,2);
print( tuple[0]);
print( tuple[1]);


tuple = ( 'runoob', 786 , 2.23, 'john', 70.2 )
list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
#tuple[2] = 1000    # 元组中是非法应用
list[2] = 1000     # 列表中是合法应用
print (list[2]);
# y=10;
# tt=(x,y,z);
print (tt[1:])

